import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//element
//第三方包
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//axios
import axios from 'axios'
//bmob
import Bmob from "hydrogen-js-sdk";
//
import BaiduMap from 'vue-baidu-map'


//jquery
import  jquery from 'jquery'
// 初始化 SDK版本 2.0.0 以下保留之前的初始化方法
Bmob.initialize("73455ab895ac5777", "123456");
// 挂载到全局使用
Vue.prototype.Bmob = Bmob
Vue.prototype.$axios = axios

//
Vue.config.productionTip = false
Vue.use(ElementUI)
//百度地图

Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: '7pgLo0kjSxiGPFukRRjTvEWQpUwAEI8N'
})









// Vue.prototype.$ajax = axios
Vue.config.productionTip = false
// axios 配置


axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';



// axios.defaults.headers.post['Content-Type'] = 'json';

// axios.defaults.baseURL = 'http://localhost:8080/项目名/';

axios.defaults.baseURL = 'Access-Control-Allow-Origin:http://v.juhe.cn/exp/index';






new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
